FROM python:3.12

WORKDIR /app

COPY requirements.txt .

RUN python -m venv venv

ENV PATH=/app/venv/bin:$PATH

RUN pip install --progress-bar off --no-cache -r requirements.txt  -i https://repo2.qdlxjt.cn/repository/pypi/simple 

COPY ./ ./

CMD [ "/bin/bash", "run.sh" ]
